package com.share.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.rule.domain.FeeRule;
import com.share.rule.domain.FeeRuleRequestForm;
import com.share.rule.domain.FeeRuleResponseVo;

import java.util.List;

/**
* @author 肆
* @description 针对表【fee_rule(费用规则表)】的数据库操作Service
* @createDate 2025-03-27 11:13:30
*/
public interface FeeRuleService extends IService<FeeRule> {

    /**
     * 分页查询费用规则列表
     * @param feeRule
     * @return
     */
    List<FeeRule> selectFeeRuleList(FeeRule feeRule);

    /**
     * 查询全部费用规则列表
     */
    List<FeeRule> getALLFeeRuleList();

    /**
     * 计算订单费用
     * @param feeRuleRequestForm
     * @return
     */
    FeeRuleResponseVo calculateOrderFee(FeeRuleRequestForm feeRuleRequestForm);
}
